package com.example.demo.context;

public class UserContext extends BaseContext {
	 /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 登录帐户
     */
    private String loginName;

    /**
     * 用户类型
     */
    private String userType;

    /**
     * 所属组织ID
     */
    private Long organId;

    /**
     * 所属组织名称
     */
    private String organName;

    /**
     * 所属组织类型
     */
    private String organType;

    /**
     * 所属域ID
     */
    private Long domainId;

    /**
     * 所属域名称
     */
    private String domainName;

    /**
     * 所属地区代码
     */
    private String areaCode;

    /**
     * 所属地区代码层级1
     */
    private String areaCode1;


    /**
     * 所属地区代码层级2
     */
    private String areaCode2;

    /**
     * 所属地区代码层级3
     */
    private String areaCode3;

    /**
     * 所属地区代码层级4
     */
    private String areaCode4;

    /**
     * 所属地区代码层级5
     */
    private String areaCode5;

    /**
     * 所属地区代码层级6
     */
    private String areaCode6;

    /**
     * 所属地区名称
     */
    private String areaName;

    /**
     * 所属地区名称层级1
     */
    private String areaName1;

    /**
     * 所属地区名称层级2
     */
    private String areaName2;

    /**
     * 所属地区名称层级3
     */
    private String areaName3;

    /**
     * 所属地区名称层级4
     */
    private String areaName4;

    /**
     * 所属地区名称层级5
     */
    private String areaName5;

    /**
     * 所属地区名称层级6
     */
    private String areaName6;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
        this.put("context_userid", userId);
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
        this.put("context_username", userName);
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
        this.put("context_loginname", loginName);
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
        this.put("context_usertype", userType);
    }

    public Long getOrganId() {
        return organId;
    }

    public void setOrganId(Long organId) {
        this.organId = organId;
        this.put("context_organid", organId);
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
        this.put("context_organname", organName);
    }

    public String getOrganType() {
        return organType;
    }

    public void setOrganType(String organType) {
        this.organType = organType;
        this.put("context_organtype", organType);
    }

    public Long getDomainId() {
        return domainId;
    }

    public void setDomainId(Long domainId) {
        this.domainId = domainId;
        this.put("context_domainid", domainId);
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
        this.put("context_domainname", domainName);
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
        this.put("context_areaCode", areaCode);
    }

    public String getAreaCode1() {
        return areaCode1;
    }

    public void setAreaCode1(String areaCode1) {
        this.areaCode1 = areaCode1;
        this.put("context_areacode1", areaCode1);
    }

    public String getAreaCode2() {
        return areaCode2;
    }

    public void setAreaCode2(String areaCode2) {
        this.areaCode2 = areaCode2;
        this.put("context_areacode2", areaCode2);
    }

    public String getAreaCode3() {
        return areaCode3;
    }

    public void setAreaCode3(String areaCode3) {
        this.areaCode3 = areaCode3;
        this.put("context_areacode3", areaCode3);
    }

    public String getAreaCode4() {
        return areaCode4;
    }

    public void setAreaCode4(String areaCode4) {
        this.areaCode4 = areaCode4;
        this.put("context_areacode4", areaCode4);
    }

    public String getAreaCode5() {
        return areaCode5;
    }

    public void setAreaCode5(String areaCode5) {
        this.areaCode5 = areaCode5;
        this.put("context_areacode5", areaCode5);
    }

    public String getAreaCode6() {
        return areaCode6;
    }

    public void setAreaCode6(String areaCode6) {
        this.areaCode6 = areaCode6;
        this.put("context_areacode6", areaCode6);
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
        this.put("context_areaname", areaName);
    }

    public String getAreaName1() {
        return areaName1;
    }

    public void setAreaName1(String areaName1) {
        this.areaName1 = areaName1;
        this.put("context_areaname1", areaName1);
    }

    public String getAreaName2() {
        return areaName2;
    }

    public void setAreaName2(String areaName2) {
        this.areaName2 = areaName2;
        this.put("context_areaname2", areaName2);
    }

    public String getAreaName3() {
        return areaName3;
    }

    public void setAreaName3(String areaName3) {
        this.areaName3 = areaName3;
        this.put("context_areaname3", areaName3);
    }

    public String getAreaName4() {
        return areaName4;
    }

    public void setAreaName4(String areaName4) {
        this.areaName4 = areaName4;
        this.put("context_areaname4", areaName4);
    }

    public String getAreaName5() {
        return areaName5;
    }

    public void setAreaName5(String areaName5) {
        this.areaName5 = areaName5;
        this.put("context_areaname5", areaName5);
    }

    public String getAreaName6() {
        return areaName6;
    }

    public void setAreaName6(String areaName6) {
        this.areaName6 = areaName6;
        this.put("context_areaname6", areaName6);
    }


    @Override
    public void clear() {
        super.clear();
        this.userId = null;
        this.userName = null;
        this.organId = null;
        this.organName = null;
        this.loginName = null;
        this.organType = null;
        this.userType = null;
        this.domainId = null;
        this.domainName = null;

        this.areaCode = null;
        this.areaName = null;
        this.areaCode1 = null;
        this.areaName1 = null;
        this.areaCode2 = null;
        this.areaName2 = null;
        this.areaCode3 = null;
        this.areaName3 = null;
        this.areaCode4 = null;
        this.areaName4 = null;
        this.areaCode5 = null;
        this.areaName5 = null;
        this.areaCode6 = null;
        this.areaName6 = null;

    }
}
